package com.zrq.secondkill.dao;

import com.zrq.secondkill.dataobject.StockLogDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface StockLogDOMapper {
    int deleteByPrimaryKey(String stockLogId);

    int insert(StockLogDO record);

    int insertSelective(StockLogDO record);

    StockLogDO selectByPrimaryKey(String stockLogId);

    int updateByPrimaryKeySelective(StockLogDO record);

    int updateByPrimaryKey(StockLogDO record);

    int updateStatusByPrimaryKey(@Param("status") Integer status,@Param("stockLogId") String stockLogId);
}